import React from 'react';
import RichText from '@/components/RichText';

const Editor = ({ value, onChange, ...rest }) => <RichText value={value} onChange={onChange} {...rest} />;

export default Editor;
